<?php
/**
 * Created by PhpStorm.
 * User: root
 * Date: 8/27/18
 * Time: 4:51 AM
 */


//namespace App\Http\Controllers\Admin;
namespace App\Http\Controllers\King;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class ProductController extends Controller
{
    public function __construct()
    {
        $this->middleware('check.permission:system');
    }
    /**
     * 控制台
     * @author 晚黎
     * @date   2016-10-29
     * @return [type]     [description]
     */
    public function index()
    {
        return view('kingadmin.index');
    }
    /**
     * datatable国际化
     * @author 晚黎
     * @date   2016-10-29
     * @return [type]     [description]
     */
    public function dataTableI18n()
    {
        return response()->json(trans('pagination.i18n'));
    }
}